package com.caochenlei.observer.custom;

public class Client {
    public static void main(String[] args) {
        WeatherSubject ws = new WeatherSubject();
        ws.addObserver(new WebSite1());
        ws.addObserver(new WebSite2());
        ws.setWeather(new Weather(10f, 100f, 30.3f));
    }
}
